package DBLayer;

import java.util.ArrayList;
import ModelLayer.Private;

public interface IFDBPrivateCustomer {
	
	// get all Customers
    public ArrayList<Private> getAllPrivateCustomers();
    
    //get one Customer having the phoneNo
    public Private getCustomerByCPR(String CPR);
    
    //get one Customer having the name
    public Private getCustomerByName(String name);
    
    //get one Customer having the id
    public Private getCustomerById(int id);
   
    //insert a new Customer
    public int insertCustomer(Private privateCustomer) throws Exception;
    
    //update information about an Customer
    public int updateCustomer(Private privateCustomer);
	
	//delete a Customer
	public int deleteCustomer(Private privateCustomer);
}
